|
|
|
|
|
|
|
Listing 19.4. Coding the property routines for the objODBC class. |
|
|
|
|
|
|
|
|
Public Property Get DataSource() As Variant
DataSource = strDataSource
End Property
Public Property Let DataSource(ByVal vNewValue As Variant)
strDataSource = vNewValue
End Property
Public Property Get UserID() As Variant
UserID = strUserID
End Property
Public Property Let UserID(ByVal vNewValue As Variant)
strUserID = vNewValue
End Property
Public Property Get Password() As Variant
Password = strPassword
End Property
Public Property Let Password(ByVal vNewValue As Variant)
strPassword = vNewValue
End Property
Public Property Get RecordCount() As Variant
RecordCount = intRecordCount
End Property
Public Property Let RecordCount(ByVal vNewValue As Variant)
' na
End Property
Public Property Get SQL() As Variant
SQL = strSQL
End Property
Public Property Let SQL(ByVal vNewValue As Variant)
strSQL = vNewValue
End Property
Public Property Get Table() As Variant
Table = strTable
End Property
Public Property Let Table(ByVal vNewValue As Variant)
strTable = vNewValue
End Property
Public Property Get Key() As Variant
Key = strKey
End Property
Public Property Let Key(ByVal vNewValue As Variant)
strKey = vNewValue |
|
|
|
|
|